{layout name="public/layout" /}
        {include file='yxnavbar'}
<div class="main">
    <ul class="nav nav-tabs">
        <li ><a href="{php echo createWebUrl('shangjia');}">可用商家列表</a></li>
        <li ><a href="{php echo createWebUrl('shangjia', array('action' =>2));}">暂停商家列表</a></li>
        <li {if $action == 3}class="active"{/if}><a href="{php echo createWebUrl('shangjia', array('action' =>3));}">商家报名信息</a></li>
        <li ><a href="{php echo createWebUrl('shangjiaadd');}">新增商家</a></li>
        <li {if $action == 4}class="active"{/if}><a href="{php echo createWebUrl('shangjia', array('action' =>4));}">分组管理</a></li>
        <li class="active"><a href="">编辑商家分组</a></li>
    </ul>
</div>       
<style>
.table td span{display:inline-block;margin-top:4px;}
.table td input{margin-bottom:0;}
</style>
<form class="form-horizontal form" action="" method="post" enctype="multipart/form-data">
<div class="clearfix">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
  <div class="nav_tab nav_0">

    <div class="panel panel-default">
        <div class="panel-heading">信息</div>
        <div class="panel-body">
                <input type="hidden" name="shangjiaid" value="{$shangjia['id']}">
 
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">分组排序</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control"  placeholder="" name="displayorder"  value="{$shangjia['displayorder']}">
                    </div>
                </div> 
                <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label"><span style="color: red;">*</span>分组名称</label>
                    <div class="col-sm-8 col-xs-12">
                        <input type="text" class="form-control"  placeholder="" name="name"  value="{$shangjia['name']}">
                    </div>
                </div> 
               <div class="form-group">
                    <label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label"><span style="color: red;">*</span>分组图片</label>
                    <div class="col-sm-8 col-xs-12">
                       {php echo view_form_field_image('img',$shangjia['img']);}
                       <span class="help-block">首页幻灯片上方</span>
                    </div>
                </div>

        </div>
  </div> 
    </div>
</div>

    <div class="form-group">
        <div class="col-sm-12">
            <input name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1">
            <input type="hidden" name="__token__" value="{$Request.token}" />
            <input type="hidden" name="themeid" value="{$themeid}" />
        </div>
    </div>
</form>

